package com.lh.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeadlineRedVo
{
    @ApiModelProperty(value = "环节名称")
    private String name; // 名称
    @ApiModelProperty(value = "部门名称")
    private String deptName; // 部门名称
    @ApiModelProperty(value = "总条数")
    private int totalCount; // 总条数
    @ApiModelProperty(value = "绿灯（warnLevel=0）数量")
    private int greenCount; // 绿灯（warnLevel=0）数量
    @ApiModelProperty(value = "黄灯（warnLevel=1）数量")
    private int yellowCount; // 黄灯（warnLevel=1）数量
    @ApiModelProperty(value = "红灯（warnLevel=2）数量")
    private int redCount; // 红灯（warnLevel=2）数量
    @ApiModelProperty(value = "红灯率")
    private String redRate; // 红灯率（redCount/totalCount）
}
